<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use App\BaseModel as Eloquent;

/**
 * Class ReportOnlineRecharge
 * 
 * @property int $id
 * @property int $hall_id
 * @property \Carbon\Carbon $date
 * @property string $code
 * @property int $vendor_id
 * @property string $scene
 * @property int $success_amount
 * @property int $failed_amount
 * @property int $total_amount
 * @property int $success_times
 * @property int $failed_times
 * @property int $total_times
 * @property int $first_level_times
 * @property int $second_level_times
 * @property int $third_level_times
 * @property int $fourth_level_times
 * @property \Carbon\Carbon $last_recharge_time
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class ReportOnlineRecharge extends Eloquent
{
	protected $table = 'report_online_recharge';

	protected $casts = [
		'hall_id' => 'int',
		'vendor_id' => 'int',
		'success_amount' => 'int',
		'failed_amount' => 'int',
		'total_amount' => 'int',
		'success_times' => 'int',
		'failed_times' => 'int',
		'total_times' => 'int',
		'first_level_times' => 'int',
		'second_level_times' => 'int',
		'third_level_times' => 'int',
		'fourth_level_times' => 'int'
	];

	protected $dates = [
		'date',
		'last_recharge_time'
	];

	protected $fillable = [
		'date',
		'code',
		'vendor_id',
		'scene',
		'success_amount',
		'failed_amount',
		'total_amount',
		'success_times',
		'failed_times',
		'total_times',
		'first_level_times',
		'second_level_times',
		'third_level_times',
		'fourth_level_times',
		'last_recharge_time'
	];
}
